﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinaer.IDao
{
    /// <summary>
    /// 城市列表IDAO
    /// </summary>
    public interface ICityDAO:IBaseDAO<Model.Entities.Model_City>
    {
        /// <summary>
        /// 根据省份编号获取城市列表
        /// </summary>
        /// <param name="provinceID"></param>
        /// <returns></returns>
        List<Model.Entities.Model_City> GetCityByProvinceID(string provinceID);
        /// <summary>
        /// 根据名称获取城市实体
        /// </summary>
        /// <param name="cityName"></param>
        /// <returns></returns>
        Model.Entities.Model_City GetByName(string cityName);

        Model.Entities.Model_City GetByCode(string cityCode);

    }
}
